﻿Ext.define('Roy.view.main.Workspace', {
    extend: 'Ext.tab.Panel',
    alias: 'widget.main_workspace',

    requires: ['Roy.view.main.FirstPage'],

    initComponent: function () {
        Ext.apply(this, {
            layout: { type: 'fit' },
            id: 'content-panel',
            //margins: '5 5 0 0',
            //bodyStyle: 'padding:5px;',
            resizeTabs: true,
            enableTabScroll: true,
            border: false,
            items: [Ext.create('Roy.view.main.FirstPage')]
        });

        this.callParent(arguments);
    }
});